<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			async function main(){
			           let  a= await Promise.resolve("ddd");
			           // console.log(a); //ddd
			            return a;
			        }
			        const p=main();
					p.then(res=>{
						console.log(res)
					})
			        //console.log(p)
		</script>
	</body>
</html>